import { Link, Outlet } from 'umi';
import styles from './index.less';

export default function Layout() {
  return (
    <div className={styles.navs}>
      <div className={styles.left}>
        <div>
          <Link to="/">Home</Link>
        </div>
        <div>
          <Link to="/form">form</Link>
        </div>
        <div>
          <Link to="/virtualized">虚拟列表</Link>
        </div>
      </div>

      <Outlet />
    </div>
  );
}
